//
//  BaseTableViewCell.m
//  EPA
//
//  Created by lanou3g on 16/4/20.
//  Copyright © 2016年 浮夸. All rights reserved.
//

#import "BaseTableViewCell.h"
#import "TextModelCell.h"
#import "ImageModelCell.h"
@implementation BaseTableViewCell

+ (instancetype)cellWithTableView:(UITableView *)tableView Model:(BaseModel *)model IndexPath:(NSIndexPath *)indexPath
{
    NSString *modelName = NSStringFromClass([model class]);
    BaseTableViewCell *baseCell = [tableView dequeueReusableCellWithIdentifier:modelName forIndexPath:indexPath];
    [baseCell setModel:model];
    return baseCell;
}


- (void)setModel:(BaseModel *)model
{
    NSLog(@"就这");
}











- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
